Optimal. Leaf size=752 \[ -\frac{594 \sqrt [6]{2} 3^{3/4} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} \text{EllipticF}\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right ),-7-4 \sqrt{3}\right )}{91 (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{3}{13} (1-x)^{2/3} (2-x)^{2/3} x^3+\frac{99}{130} (1-x)^{2/3} (2-x)^{2/3} x^2-\frac{891\ 2^{2/3} \sqrt{(3-2 x)^2} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2}}{91 (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )}+\frac{891 \sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{91 \sqrt [3]{2} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{27}{455} (1-x)^{2/3} (2-x)^{2/3} (34 x+89) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.644883, antiderivative size = 752, normalized size of antiderivative = 1., number of steps used = 8, number of rules used = 8, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.364, Rules used = {100, 153, 147, 61, 623, 303, 218, 1877} \[ \frac{3}{13} (1-x)^{2/3} (2-x)^{2/3} x^3+\frac{99}{130} (1-x)^{2/3} (2-x)^{2/3} x^2-\frac{891\ 2^{2/3} \sqrt{(3-2 x)^2} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2}}{91 (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )}-\frac{594 \sqrt [6]{2} 3^{3/4} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} F\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{91 (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{891 \sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt{(2 x-3)^2} \sqrt [3]{x^2-3 x+2} \left (2^{2/3} \sqrt [3]{x^2-3 x+2}+1\right ) \sqrt{\frac{2 \sqrt [3]{2} \left (x^2-3 x+2\right )^{2/3}-2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}} E\left (\sin ^{-1}\left (\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}-\sqrt{3}+1}{2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1}\right )|-7-4 \sqrt{3}\right )}{91 \sqrt [3]{2} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{2^{2/3} \sqrt [3]{x^2-3 x+2}+1}{\left (2^{2/3} \sqrt [3]{x^2-3 x+2}+\sqrt{3}+1\right )^2}}}+\frac{27}{455} (1-x)^{2/3} (2-x)^{2/3} (34 x+89) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 100
Rule 153
Rule 147
Rule 61
Rule 623
Rule 303
Rule 218
Rule 1877
Rubi steps
\begin{align*} \int \frac{x^4}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx &=\frac{3}{13} (1-x)^{2/3} (2-x)^{2/3} x^3+\frac{3}{13} \int \frac{x^2 (-6+11 x)}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx\\ &=\frac{99}{130} (1-x)^{2/3} (2-x)^{2/3} x^2+\frac{3}{13} (1-x)^{2/3} (2-x)^{2/3} x^3+\frac{9}{130} \int \frac{x (-44+68 x)}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx\\ &=\frac{99}{130} (1-x)^{2/3} (2-x)^{2/3} x^2+\frac{3}{13} (1-x)^{2/3} (2-x)^{2/3} x^3+\frac{27}{455} (1-x)^{2/3} (2-x)^{2/3} (89+34 x)+\frac{594}{91} \int \frac{1}{\sqrt [3]{1-x} \sqrt [3]{2-x}} \, dx\\ &=\frac{99}{130} (1-x)^{2/3} (2-x)^{2/3} x^2+\frac{3}{13} (1-x)^{2/3} (2-x)^{2/3} x^3+\frac{27}{455} (1-x)^{2/3} (2-x)^{2/3} (89+34 x)+\frac{\left (594 \sqrt [3]{2-3 x+x^2}\right ) \int \frac{1}{\sqrt [3]{2-3 x+x^2}} \, dx}{91 \sqrt [3]{1-x} \sqrt [3]{2-x}}\\ &=\frac{99}{130} (1-x)^{2/3} (2-x)^{2/3} x^2+\frac{3}{13} (1-x)^{2/3} (2-x)^{2/3} x^3+\frac{27}{455} (1-x)^{2/3} (2-x)^{2/3} (89+34 x)+\frac{\left (1782 \sqrt{(-3+2 x)^2} \sqrt [3]{2-3 x+x^2}\right ) \operatorname{Subst}\left (\int \frac{x}{\sqrt{1+4 x^3}} \, dx,x,\sqrt [3]{2-3 x+x^2}\right )}{91 \sqrt [3]{1-x} \sqrt [3]{2-x} (-3+2 x)}\\ &=\frac{99}{130} (1-x)^{2/3} (2-x)^{2/3} x^2+\frac{3}{13} (1-x)^{2/3} (2-x)^{2/3} x^3+\frac{27}{455} (1-x)^{2/3} (2-x)^{2/3} (89+34 x)+\frac{\left (891 \sqrt [3]{2} \sqrt{(-3+2 x)^2} \sqrt [3]{2-3 x+x^2}\right ) \operatorname{Subst}\left (\int \frac{1-\sqrt{3}+2^{2/3} x}{\sqrt{1+4 x^3}} \, dx,x,\sqrt [3]{2-3 x+x^2}\right )}{91 \sqrt [3]{1-x} \sqrt [3]{2-x} (-3+2 x)}+\frac{\left (891\ 2^{5/6} \sqrt{(-3+2 x)^2} \sqrt [3]{2-3 x+x^2}\right ) \operatorname{Subst}\left (\int \frac{1}{\sqrt{1+4 x^3}} \, dx,x,\sqrt [3]{2-3 x+x^2}\right )}{91 \sqrt{2+\sqrt{3}} \sqrt [3]{1-x} \sqrt [3]{2-x} (-3+2 x)}\\ &=\frac{99}{130} (1-x)^{2/3} (2-x)^{2/3} x^2+\frac{3}{13} (1-x)^{2/3} (2-x)^{2/3} x^3+\frac{27}{455} (1-x)^{2/3} (2-x)^{2/3} (89+34 x)-\frac{891\ 2^{2/3} \sqrt{(3-2 x)^2} \sqrt{(-3+2 x)^2} \sqrt [3]{2-3 x+x^2}}{91 (3-2 x) \sqrt [3]{1-x} \sqrt [3]{2-x} \left (1+\sqrt{3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )}+\frac{891 \sqrt [4]{3} \sqrt{2-\sqrt{3}} \sqrt{(-3+2 x)^2} \sqrt [3]{2-3 x+x^2} \left (1+2^{2/3} \sqrt [3]{2-3 x+x^2}\right ) \sqrt{\frac{1-2^{2/3} \sqrt [3]{2-3 x+x^2}+2 \sqrt [3]{2} \left (2-3 x+x^2\right )^{2/3}}{\left (1+\sqrt{3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}} E\left (\sin ^{-1}\left (\frac{1-\sqrt{3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}{1+\sqrt{3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}\right )|-7-4 \sqrt{3}\right )}{91 \sqrt [3]{2} (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{1+2^{2/3} \sqrt [3]{2-3 x+x^2}}{\left (1+\sqrt{3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}}}-\frac{594 \sqrt [6]{2} 3^{3/4} \sqrt{(-3+2 x)^2} \sqrt [3]{2-3 x+x^2} \left (1+2^{2/3} \sqrt [3]{2-3 x+x^2}\right ) \sqrt{\frac{1-2^{2/3} \sqrt [3]{2-3 x+x^2}+2 \sqrt [3]{2} \left (2-3 x+x^2\right )^{2/3}}{\left (1+\sqrt{3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}} F\left (\sin ^{-1}\left (\frac{1-\sqrt{3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}{1+\sqrt{3}+2^{2/3} \sqrt [3]{2-3 x+x^2}}\right )|-7-4 \sqrt{3}\right )}{91 (3-2 x) \sqrt{(3-2 x)^2} \sqrt [3]{1-x} \sqrt [3]{2-x} \sqrt{\frac{1+2^{2/3} \sqrt [3]{2-3 x+x^2}}{\left (1+\sqrt{3}+2^{2/3} \sqrt [3]{2-3 x+x^2}\right )^2}}}\\ \end{align*}
Mathematica [C] time = 0.0445775, size = 72, normalized size = 0.1 \[ \frac{3 (1-x)^{2/3} \left (-2475 \, _2F_1\left (\frac{1}{3},\frac{2}{3};\frac{5}{3};x-1\right )-2772 (x-1) \, _2F_1\left (\frac{1}{3},\frac{5}{3};\frac{8}{3};x-1\right )+(2-x)^{2/3} \left (140 x^3+462 x^2+1224 x-261\right )\right )}{1820} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.081, size = 0, normalized size = 0. \begin{align*} \int{{x}^{4}{\frac{1}{\sqrt [3]{1-x}}}{\frac{1}{\sqrt [3]{2-x}}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{4}}{{\left (-x + 2\right )}^{\frac{1}{3}}{\left (-x + 1\right )}^{\frac{1}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (\frac{x^{4}{\left (-x + 2\right )}^{\frac{2}{3}}{\left (-x + 1\right )}^{\frac{2}{3}}}{x^{2} - 3 \, x + 2}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{4}}{\sqrt [3]{1 - x} \sqrt [3]{2 - x}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{4}}{{\left (-x + 2\right )}^{\frac{1}{3}}{\left (-x + 1\right )}^{\frac{1}{3}}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]